package com.hlkj.pay.vo.admin.resp.organization;

import java.util.List;

import com.hlkj.pay.enums.AdminUserEnum;
import com.hlkj.pay.vo.BaseMerchantResp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
 * @author HlpayTeam
 * @date 2024/09/06 9:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OrganizationResp extends BaseMerchantResp {
	
	/**
	 * 组织编码
	 */
	@Schema(description = "组织编码")
	private String organizationCode;
	/**
	 * 组织名称
	 */
	@Schema(description = "组织名称")
	private String organizationName;
	
	/**
	 * 父级组织code
	 */
	@Schema(description = "父级组织code")
	private String parentOrganizationCode;
	/**
	 * 状态 1 启用 0 停用
	 * @see AdminUserEnum.YES_NO_TYPE
	 */
	@Schema(description = "状态 1 启用 0 停用")
	private Integer status;
	
	/**
	 * 排序
	 */
	@Schema(description = "排序")
	private Integer sort;
	
	/**
	 * 联系方式
	 */
	@Schema(description = "联系方式")
	private String contactInfo;
	
	/**
	 * 负责人
	 */
	@Schema(description = "负责人")
	private String principalName;
	/**
	 * 总部
	 */
	@Schema(description = "子部门")
	private List<OrganizationResp> childOrganizations;
}

